const date = new Date()

let formattedDate = Intl.DateTimeFormat('zh-CN', { weekday: 'short' }).format(date)
console.log(formattedDate)

formattedDate = Intl.DateTimeFormat('zh-CN', { weekday: 'long' }).format(date)
console.log(formattedDate)
